home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
OpenGL-GLC
/
glcfontface.z
/
glcfontface
Wrap
Text File
|
1998-10-20
|
4KB
|
67 lines
ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee((((3333GGGG))))
NNNNAAAAMMMMEEEE
ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee - set the face of a font or of all current fonts
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
GLboolean ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee( GLint _i_n_F_o_n_t,
const GLCchar *_i_n_F_a_c_e )
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_i_n_F_o_n_t Specifies the ID of the font to be changed.
_i_n_F_a_c_e Specifies the face for _i_n_F_o_n_t.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee attempts to set the current face of the font identified by
_i_n_F_o_n_t to the face identified by the string _i_n_F_a_c_e. Examples for font
faces are strings like "Normal", "Bold", or "Bold Italic". In contrast to
some systems that have a different font for each face, GLC allows you to
have the face be an attribute of the font.
If _i_n_F_a_c_e is not an element of the font's string list attribute
GGGGLLLLCCCC____FFFFAAAACCCCEEEE____LLLLIIIISSSSTTTT, the command leaves the font's current face unchanged and
returns GGGGLLLL____FFFFAAAALLLLSSSSEEEE. If the command succeeds, it returns GGGGLLLL____TTTTRRRRUUUUEEEE.
If _i_n_F_o_n_t is zero, ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee iterates through the list
GGGGLLLLCCCC____CCCCUUUURRRRRRRREEEENNNNTTTT____FFFFOOOONNNNTTTT____LLLLIIIISSSSTTTT and attempts to set the current face to _i_n_F_a_c_e for
each font. In this case, ggggllllccccFFFFoooonnnnttttFFFFaaaacccceeee returns GGGGLLLL____TTTTRRRRUUUUEEEE if and only if
GGGGLLLLCCCC____CCCCUUUURRRRRRRREEEENNNNTTTT____FFFFOOOONNNNTTTT____LLLLIIIISSSSTTTT contains one or more elements and the command
successfully sets the current face of each font in the list.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
context.
GGGGLLLLCCCC____PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR____EEEERRRRRRRROOOORRRR is generated if _i_n_F_o_n_t is not the ID of a font.
AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
ggggllllccccGGGGeeeettttFFFFoooonnnnttttFFFFaaaacccceeee
PPPPaaaaggggeeee 1111